package com.hotelbooking.hotel.define;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="Hotel")
public class Hotel {
	private int hotelId;
	private String hotelName;
	private String address;
	private String info;
	private String city;
	private String intro;
	
	public Hotel(int hotelId, String hotelName, String address,String info,String city,String intro) {
		this.address = address;
		this.hotelId = hotelId;
		this.hotelName = hotelName;
		this.info = info;
		this.city = city;
		this.intro = intro;
	}
	
	public Hotel() {
	}

	@Id
	public int getHotelId() {
		return hotelId;
	}
	public void setHotelId(int hotelId) {
		this.hotelId = hotelId;
	}
	
	@Column(name="Name")
	public String getHotelName() {
		return hotelName;
	}
	public void setHotelName(String hotelName) {
		this.hotelName = hotelName;
	}
	
	@Column(name="Address")
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	
	@Column(name="Information")
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	
	@Column(name="City")
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	
	@Column(name="Introduction")
	public String getIntro() {
		return intro;
	}
	public void setIntro(String intro) {
		this.intro = intro;
	}
}
